package com.bw.widget.decoration

import android.content.Context
import android.graphics.Color
import com.yanyusong.y_divideritemdecoration.Y_Divider
import com.yanyusong.y_divideritemdecoration.Y_DividerItemDecoration
import com.yanyusong.y_divideritemdecoration.Y_SideLine

class SignLineDecoration(ctx : Context) : Y_DividerItemDecoration(ctx) {

    override fun getDivider(itemPosition: Int): Y_Divider? {
        return Y_Divider(
            Y_SideLine(true,Color.WHITE,0f,0f,0f),
            Y_SideLine(true,Color.WHITE,3f,0f,0f),
            Y_SideLine(true,Color.WHITE,0f,0f,0f),
            Y_SideLine(true,Color.WHITE,0f,0f,0f))
    }
}